package com.zsk.shop.model.wechatDecode;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author ljh
 * @create 2021/11/22 14:10
 */
@Data
@ApiModel("商品新增参数实体")
public class AddWmGoodsParams {
    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品简介")
    private String introduction;

    @ApiModelProperty("商品分类2级No")
    private String goodsCategoryNo;

    @ApiModelProperty("商品图片,主图放1 逗号隔开")
    private String goodsImgs;

    @ApiModelProperty("商品详情")
    private String goodsDetail;

    @ApiModelProperty("商品图片,主图放1 逗号隔开")
    private List<AddWmGoodsSkuParams> skuList;

    @ApiModelProperty("是否马上发布（如果有时间按照时间）其他的为草稿")
    private Boolean isImmediatePublish;

    @ApiModelProperty("发布时间")
    private Date publishTime;

    @ApiModelProperty("限制购买数量 如果是0则不限制")
    private Integer limitBuyCount;
}
